<%@page import="edu.unmsm.fisi.taller2.mvcdemo.model.UserBean"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<% List<UserBean> userList  = (List<UserBean>)request.getAttribute("userList"); %>

<html>
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
 <title>Scriptles</title>
</head>
<body>
 alternativa 1: Scriptles
 <table border="1">
  <%  for (UserBean user : userList ) { %>
  <tr>
    <td><%= user.getNombre() %> </td>  <td><%= user.getApellido() %> </td>  <td><%= user.getEmail() %>  } </td>
  </tr>
  <% } %>
  </table>
</body>
</html>